package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 全局配置信息
 * @author Rongjie
 */
@Data
@TableName("mall_system_config_global")
@KeySequence(value = "mall_system_config_global_SEQ")
@ApiModel(value = "MallSystemConfigGlobal对象")
public class MallSystemConfigGlobal implements Serializable{

       @TableId(value = "global_config_key", type = IdType.UUID)
       @ApiModelProperty(value = "分类编码")
       private String globalConfigKey;

       @ApiModelProperty(value = "系统或插件编码(SYSTEM/RENT/LOAN/)")
       private String systemCode;

       @ApiModelProperty(value = "分类编码(PAY/WECHAT/LANGUAGE)")
       private String configTypeCode;

       @ApiModelProperty(value = "配置项")
       private String configCode;

       @ApiModelProperty(value = "配置级别", example = "1")
       private Integer configLevel;

       @ApiModelProperty(value = "配置类型名")
       private String configName;

       @ApiModelProperty(value = "配置值")
       private String configValue;

       @ApiModelProperty(value = "上级配置key")
       private String parentGlobalConfigKey;

}
